package com.example.stmp.Service.Notice;

import com.example.stmp.Entity.Notice;
import com.example.stmp.Mapper.NoticeMapper;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.ArrayList;

@Service
@Slf4j
public class NoticeServiceImpl implements NoticeService {

    @Autowired
    NoticeMapper noticeMapper;

    @Override
    public ArrayList<Notice> getNotice(){
        return noticeMapper.getNotice();
    }
}
